package com.ruoyi.base.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 农事任务操作对象 base_record
 * 
 * @author ruoyi
 * @date 2024-02-05
 */
@Data
public class BaseRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 计划编号 */
    @Excel(name = "计划编号")
    private Long taskId;

    /** 地块编号 */
    @Excel(name = "地块编号")
    private Long landId;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String employName;

    /** 工作量 */
    @Excel(name = "工作量")
    private String taskCount;

    private String landName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setLandId(Long landId) 
    {
        this.landId = landId;
    }

    public Long getLandId() 
    {
        return landId;
    }
    public void setEmployName(String employName) 
    {
        this.employName = employName;
    }

    public String getEmployName() 
    {
        return employName;
    }
    public void setTaskCount(String taskCount) 
    {
        this.taskCount = taskCount;
    }

    public String getTaskCount() 
    {
        return taskCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("landId", getLandId())
            .append("employName", getEmployName())
            .append("taskCount", getTaskCount())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .toString();
    }
}
